package com.spontaneapp.classes;

public class Place {

	private String name, description, date, address;
	private float rating;
	private double distance;
	private long id, longitude, latitude;
	private int category;

	public Place(String name, String description, String date, String address, float rating, double distance,
			long longitude, long latitude, int category) {
		super();
		this.name = name;
		this.description = description;
		this.date = date;
		this.address = address;
		this.rating = rating;
		this.longitude = longitude;
		this.latitude = latitude;
		this.category = category;
		this.distance = distance;
	}

	public Place() {
		this.name = null;
		this.description = null;
		this.date = null;
		this.address = null;
		this.rating = 0;
		this.longitude = 0;
		this.latitude = 0;
		this.category = 0;
		this.distance = 0;
	}

	public double getDistance() {
		return distance;
	}

	public void setDistance(double distance) {
		this.distance = distance;
	}

	public int getCategory() {
		return category;
	}

	public void setCategory(int category) {
		this.category = category;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public float getRating() {
		return rating;
	}

	public void setRating(float rating) {
		this.rating = rating;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getLongitude() {
		return longitude;
	}

	public void setLongitude(long longitude) {
		this.longitude = longitude;
	}

	public long getLatitude() {
		return latitude;
	}

	public void setLatitude(long latitude) {
		this.latitude = latitude;
	}
	
}
